<?php
//$template;$color;$image;$repeat;$link;$content;$show set from shortcode
$show_image = false;
$style = "";
if ($color != "") {
    $style .= "background-color:{$color};";
}
if ($image != "") {
    $show_image = true;
    $style .= "background-size:cover;";
    $image_html = "<img src='{$image}' class='pointer' alt='bgImage'/>";
}
$icon_image='';
if($icon!=""){
    $icon_image = "<img class='home_box_icon' src='{$icon}' alt='{$title}' />";
}
?>
<h3><?php echo $icon_image.$title;?></h3>
<div class="info" style="<?php echo $style; ?>">
    <?php echo $image_html; ?>
    <ul>
         <li class="box_description"><?php echo $content;?></li>
        <li class="last"><a href="<?php echo $link; ?>" class="more">More..</a></li>
    </ul>
</div>